package com.example.administrator.qimo3no74.orders;

public class OrdersItem {
    private String itemName;
    private Double itemUnitPrice;
    private Double itemPrice;
    private Integer itemCount;
    private String storeName;
    private int itemImgId;
    private String itemOther;

    public OrdersItem(String itemName, Double itemUnitPrice, Integer itemCount, String storeName, int itemImgId, String itemOther) {
        this.itemName = itemName;
        this.itemUnitPrice = itemUnitPrice;
        this.itemCount = itemCount;
        this.storeName = storeName;
        this.itemImgId = itemImgId;
        this.itemOther = itemOther;
    }


    public String getItemName() {
        return itemName;
    }

    public Double getItemPrice() {
        return this.itemUnitPrice * this.itemCount;
    }

    public Double getItemUnitPrice() {
        return itemUnitPrice;
    }

    public String getStoreName() {
        return storeName;
    }

    public int getItemImgId() {
        return itemImgId;
    }

    public Integer getItemCount() {
        return itemCount;
    }

    public void setItemName(String itemName) {
        this.itemName = itemName;
    }

    public String getItemOther() {
        return itemOther;
    }

    public void setItemUnitPrice(Double itemUnitPrice) {
        this.itemUnitPrice = itemUnitPrice;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public void setItemImgId(int itemImgId) {
        this.itemImgId = itemImgId;
    }

    public void setItemOther(String itemOther) {
        this.itemOther = itemOther;
    }

    public void setItemCount(Integer itemCount) {
        this.itemCount = itemCount;
    }
}
